package com.ruoyi.common.config;

/**
 * @ClassName: AliPayConfig
 * @Description: 需要传给支付宝SDK的公共基本参数
 * @author: Linn
 * @Date: 2020/12/30
 */
public class AliDevPayConfig {

    /**
     * 1.商户appid
     */
    public String APPID = "2021000116685656";

    /**
     * 私钥 pkcs8格式的
     */
    public static String RSA_PRIVATE_KEY ="MIIEvAIBADANBgkqhkiG9w0BAQEFAASCBKYwggSiAgEAAoIBAQCsmWOKbVz/LE8+wyzIu8Hh1dRYi2R+GWjkZ2lUNHwCTM46fuZ32pQCpUHMhMcUByRs0JCSK96tZ4j8dPkYWFBVrMYtE7hBcvCoZWLXwha/Wa7mQbGXL8qDKEQtLnPR0ebpmXfPoCZJ2hxyccfzWX8fDrMDMMEBrDbtXRx+tqSn5dPeQrBMCb/V0twhaNzgUe3YcOH2ClNGdcVVlYHnSFAsxpHNZM7/pvWhNI+4RF3Fmen2TdMwsqpGBtnB/eOWbydAy1vq+h7DswkJPQefSK+2oMTnW8i4K1Ap0gCZEU2oKGwDTOO2HN4Ty8YjwIjIFlF23yhMpxttOp5fec0chfWJAgMBAAECggEAIhhC04t6/WUxWkKPzC9aw1PMGJmghlBaqhPLeLjNbl7htihvOmnRJxyh/NaVxN0MUvp4NIe5+yMiqkwpEKgRZns0wp7MnREpfPpaJijO+YmrxQxhGm50YKhJn2s3sdD2/lo0kq0eIySUzf6v8uBQ/j+XGSA+YCg2yXjFMjq+F/Q5b3Gc1V4m+RpbvOLROOZiJjlxD14/fuU1yRFpF5KyuYt0A7bVwjuuBYQmkBnhzoQ/LVwvSjbHSXTjt3rK6kyaNI3hWAPE/Zs4ffigVzrN1vssrKQTxVkPj6Pqx9ppMRi+GtVz2xKIGjizuhIK5Iba0VY0+6JwQldsyZXXWETqyQKBgQDWkU5fFEh7QDYWFZAjFxvDldUfYCbyWPAnQsYm/b4ZA5bRTA6pJccXiK9BqlkvlDCf5wSzerVRixC6uVjM/zglUWAVpNepS2dlizrw8eOlwPINq97OsAjXL5XdbbZn3CHW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qFyEyaaz+m33HaWJpO494Xdv+3pCVE4oS5EVwQJxnNMaGPyy2msoxBCm9gLFa5pVnbQPQZ4o9vNEZalbRNwzIsKTzAHjRM068IqTvF4e1qxkwIj1BQIDAQAB";

    /**
     * 4.服务器异步通知页面路径 需http://或者https://格式的完整路径，不能加?id=123这类自定义参数，必须外网可以正常访问
     */
//这个着重讲一下..支付完成后,支付宝会通过这个url请求到你的服务端..
//这个url一定是要公网可以访问才行...如果需要测试的话..我后面有讲到..
//这里你可以先写你本地项目的url 例如:localhost:8080/项目名/访问路径
    public static String notify_url = "http://2hu4349021.wicp.vip/pay/aliNotify";

    /**
     * 5.页面跳转同步通知页面路径 需http://或者https://格式的完整路径，不能加?id=123这类自定义参数，必须外网可以正常访问 商户可以自定义同步跳转地址
     */
    //这里同上..不做详细说明了..
    public static String return_url = "http://2hu4349021.wicp.vip/pay/returnUrl";

    /**
     * 正式环境支付宝网关，如果是沙箱环境需更改成https://openapi.alipaydev.com/gateway.do
     */

    public static String URL = "https://openapi.alipaydev.com/gateway.do";

    /**
     * 7.编码
     */
    public static String CHARSET = "UTF-8";

    /**
     * 私钥 pkcs8格式的
     */
    // 8.返回格式
    public static String FORMAT = "json";

    /**
     * //签名方式 加密类型
     */
    public static String SIGNTYPE = "RSA2";
}
